package edu.sctu.practice.class01.fengleilin.test04;

/**
 * Created by fll on 2015/10/13.
 */
public class Number {
    private int n1;
    private int n2;

    public Number(int n1,int n2){
        this.n1 = n1;
        this.n2 = n2;
    }

    public void addNumber(){
        int add = n1 + n2;
        System.out.println(add);
    }

    public void subtractNumber(){
        int sub = n1 - n2;
        System.out.println(sub);
    }

    public void multiplyNumber(){
        int mul = n1 * n2;
        System.out.println(mul);
    }

    public void divideNumber(){
        int div = n1 / n2;
        System.out.println(div);
    }
}
